package cn.aishua.location;

import java.util.ArrayList;

import cn.aishua.ui.vendor.Vendor;


/**
 * This represents the location you are at.
 */
public class Location {

	public double latitude;
	
	public double longitude;
	
	public String address;
	
	public Location(double latitude, double longitude, String address){
		this.latitude = latitude;
		this.longitude = longitude;
		this.address = address;
	}
	
	public ArrayList<Vendor> findVendor(int type, int radius, int order){
		return null;
	}
	
	@Override
	/**
	 * For test-use only
	 */
	public String toString() {
		return "lat :" + latitude + ", long :" + longitude + ", addr :" + address;
	}
	
}
